<!--<el-row>-->
    <!--@@for(btn in btns){@@-->
        <!--@@if(btn.id=='add'){@@-->
            <!--@@if(shiro.hasPermission(btn.permission)){@@-->
                <!--<el-button @click="add" type="primary">新增</el-button>-->
            <!--@@}@@-->
        <!--@@}else if(btn.id=='import'){@@-->
            <!--<el-button @click="import" type="info">导入</el-button>-->
        <!--@@}else if(btn.id=='export'){@@-->
            <!--<el-button @click="export" type="info">导出</el-button>-->
        <!--@@}else if(btn.id=='del'){@@-->
            <!--<el-button @click="del" type="danger">删除</el-button>-->
        <!--@@}@@-->
    <!--@@}@@-->
    <!--&lt;!&ndash;<el-button type="success"></el-button>&ndash;&gt;-->
    <!--&lt;!&ndash;<el-button type="warning"></el-button>&ndash;&gt;-->

<!--</el-row>-->

<div class="layui-btn-container">
    @@for(btn in btns){@@
    @@if(btn.id=='add'){@@
        @@if(shiro.hasPermission(btn.permission)){@@
            <button class="layui-btn layui-btn-sm" lay-event="add"><i class="layui-icon layui-icon-add-1"></i>新增</button>
        @@}@@
    @@}else if(btn.id=='import'){@@
        <button class="layui-btn layui-btn-sm" lay-event="import"><i class="layui-icon layui-icon-upload-circle"></i>导入</button>
    @@}else if(btn.id=='export'){@@
        <button class="layui-btn layui-btn-sm" lay-event="export"><i class="layui-icon layui-icon-download-circle"></i>导出</button>
    @@}else if(btn.id=='del'){@@
        @@if(shiro.hasPermission(btn.permission)){@@
            <button class="layui-btn layui-btn-sm" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</button>
        @@}@@
    @@}else if(btn.id=='empty'){@@
        @@if(shiro.hasPermission(btn.permission)){@@
        <button class="layui-btn layui-btn-sm" lay-event="empty"><i class="layui-icon layui-icon-delete"></i>清空</button>
        @@}@@
    @@}else if(btn.id=='distinguish'){@@
        <button class="layui-btn layui-btn-sm" lay-event="distinguish"><i class="layui-icon layui-icon-upload-circle"></i>问题识别</button>
    @@}else if(btn.id=='solve'){@@
    <button class="layui-btn layui-btn-sm" lay-event="solve"><i class="layui-icon layui-icon-upload-circle"></i>问题解决</button>
    @@}else if(btn.id=='addproblem'){@@
    <button class="layui-btn layui-btn-sm" lay-event="addproblem"><i class="layui-icon layui-icon-upload-circle"></i>新增问题</button>
    @@}else if(btn.id=='solveproblem'){@@
    <button class="layui-btn layui-btn-sm" lay-event="solveproblem"><i class="layui-icon layui-icon-upload-circle"></i>处理问题</button>
    @@}else if(btn.id=='refresh'){@@
    <button class="layui-btn layui-btn-sm" lay-event="refresh"><i class="layui-icon layui-icon-upload-circle"></i>刷新</button>
    @@}
    else if(btn.id=='init'){@@
        @@if(shiro.hasPermission(btn.permission)){@@
            <button class="layui-btn layui-btn-sm" lay-event="init"><i class="layui-icon layui-icon-refresh" style="margin-right: 2px;"></i>初始化</button>
        @@}@@
    @@}else if(btn.id=='edit'){@@
        @@if(shiro.hasPermission(btn.permission)){@@
            <button class="layui-btn layui-btn-sm" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>修改</button>
        @@}@@
    @@}@@
    @@}@@
</div>